Selection-Based Parallel Range-Join in Hypercubes
نویسنده
چکیده
In this paper we propose a new parallel algorithm for computing the range-join of two sets R and S, i.e., the set containing all tuples (r, s), r 2 R and s 2 S, such that e 1 jr ? sj e 2 , in a hypercube computer with p processors, where 0 e 1 e 2 are constants and 1 p jRj = m jSj = n. Our algorithm uses selection as a basis and works in divide-and-conquer fashion. The algorithm requires at most O(n) local memory and has a worst-case time complexity O(mn p). The best-case time complexity of the algorithm is O(m p log 2 p + n p log m) (or O(T med + n p log m) if a hypercube median-selection algorithm of time complexity T med is employed) which is better than permutation-based join developed recently 9] when n pm. An upper bound of time complexity in the general case and its full evaluation is also shown. The proposed algorithm works also for the case m < p n.
منابع مشابه
An Efficient Permutation-Based Parallel Algorithm for Range-Join in Hypercubes
The range-join of sets R and S is deened to be the set containing all tuples (r; s) that satisfy e 1 jr ? sj e 2 , where r 2 R, s 2 S, e 1 and e 2 are xed constants. This paper proposes an eecient parallel range-join algorithm in hypercubes. To compute the range-join of two sets R and S on a hypercube of p processors (p jRj = m jSj = n), the proposed algorithm simply permutes the elements of R ...
متن کاملParallel K-set Mutual Range-join with Least Comparisons in Hypercubes
The mutual range-join of k sets, S 1 , S 2 , , S k , is the set containing all tuples (s 1 ; s 2 ; ; s k) that satisfy e 1 js i ?s j j e 2 for all 1 i 6 = j k, where s i 2 S i and e 1 e 2 are xed constants. This paper presents an eecient parallel algorithm for computing the k-set mutual range-join in hypercube computers. The proposed algorithm uses a fast method to determine whether the diieren...
متن کاملEfficient Parallel k-Set Chain Range-Join in Hypercubes
The chain range-join of k sets, S 1 , S 2 , , S k , is the set containing all tuples (s 1 ; s 2 ; ; s k) that satisfy e (1) i js i ? s i+1 j e (2) i , where s k 2 S k , s i 2 S i , e (1) i e (2) i are xed constants, 1 i k ? 1. This paper presents an eecient parallel algorithm for computing the k-set chain range-join in hypercube computers. The proposed algorithm applies the technique of permuta...
متن کاملWeighted selection on coarse-grain hypercubes
Given n weighted records distributed evenly among a p-processor hypercube, p n, we present ee-cient parallel algorithms for solving the weighted selection and related problems in the coarse-grain weak-hypercube model. A special case of the weighted selection problem, in which all the weights are equal, is known as the (unweighted) selection or order statistics problem. Our algorithms seek to mi...
متن کاملParallel Join Algorithms based on Parallel B+-trees
Within the last several years, a number of parallel algorithms for the join operation have been proposed. However, almost all of the algorithms did not take advantages of the underlying parallel storage structures or data declustering methods of the operand relations. This paper introduces the concept of parallel storage structure or declustering aware parallel join algorithm. A parallel B+-tre...
متن کامل